#ifndef RESOURCES_H
#define RESOURCES_H

// please order them follow alphabet

/* BUTTON TYPE */
#define BTN_TYPE_UPGRADE 1
#define BTN_TYPE_PRICE 2

/* CHARACTER */
#define CHAR_GRANDMA 0
#define CHAR_KID 1
#define CHAR_CEO 2
#define CHAR_GOVERMENT 3
#define CHAR_HACKER 4
#define CHAR_SUPER_MAN 5
#define CHAR_GHOST 6
#define CHAR_GOD 7
#define CHAR_GAME_DEV 8
#define CHAR_FINGER 9
#define CHAR_ATM 10

/* CONFIGURATION */
#define UG_KEY "ug"
#define CONF_UNLOCK_CHARACTER_WIDTH 105
#define CONF_UNLOCK_CHARACTER_HEGHT 101
#define CONF_SAVE_TIME 10
#define CONF_STATUS_FOR_HIRE 1
#define CONF_STATUS_FOR_LEVEL 2
#define CONF_STATUS_FOR_LEVEL_UP 3
#define CONF_COMBO_MIN 0
#define CONF_COMBO_MAX 5
#define CONF_COMBO_TOUCH_REQUIRED 100
#define CONF_COMBO_TIME_TO_RESET 2

/* DOCUMENT */
#define DOC_CHARACTER "character.dat"
#define DOC_USER "user.dat"
#define DOC_COUNTER "counter.dat"
#define DOC_FINGER "fingers.dat"
#define DOC_ACHIEVEMENT "achievement.dat"
#define DOC_STATUS_ACHIEVEMENT "statusAchievement.dat"
#define DOC_ATM "atm.dat"
/* EVENT */
#define EVT_DEFAULT 1
#define EVT_CLICK_BUTTON 2

/* FACES */
#define FACE_MAIN "main"
#define FACE_STATUS "status"
#define FACE_LIGHT "light"

/* FONT */
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
#define FONT_UVNHAILONG "UVN Hai Long.ttf"
#define FONT_BANGERS "Bangers.ttf"
#define FONT_FELT "Felt.ttf"
#define FONT_TRANSFORMER "Transformers Movie.ttf"
#define FONT_MYRIADPRO_REGULAR "MyriadPro-Regular.ttf"
#define FONT_MYRIADPRO_BOLD "MYRIADPRO-BOLD.OTF"
#define FONT_MYRIADPRO_BOLDIT "MYRIADPRO-SEMIBOLDIT.OTF"
#endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#define FONT_UVNHAILONG "fonts/UVN Hai Long.ttf"
#define FONT_BANGERS "fonts/Bangers.ttf"
#define FONT_FELT "fonts/Felt.ttf"
#define FONT_TRANSFORMER "fonts/Transformers Movie.ttf"
#define FONT_MYRIADPRO_REGULAR "fonts/MyriadPro-Regular.ttf"
#define FONT_MYRIADPRO_BOLD "fonts/MYRIADPRO-BOLD.OTF"
#define FONT_MYRIADPRO_BOLDIT "fonts/MYRIADPRO-SEMIBOLDIT.OTF"
#endif
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
#define FONT_UVNHAILONG "fonts/UVN Hai Long.ttf"
#define FONT_BANGERS "fonts/Bangers.ttf"
#define FONT_FELT "fonts/Felt.ttf"
#define FONT_TRANSFORMER "fonts/Transformers Movie.ttf"
#define FONT_MYRIADPRO_REGULAR "fonts/MyriadPro-Regular.ttf"
#define FONT_MYRIADPRO_BOLD "fonts/MYRIADPRO-BOLD.OTF"
#endif
#define FONT_TIMENEWROMAN "Time New Roman"
#define FONT_ARIAL "Arial"

/* GAME STATE */
#define GS_PLAY 1
#define GS_UPGRADE 2
#define GS_CHARACTER 5
#define GS_PAUSE 3
#define GS_ACHIEVEMENT 4
#define GS_SHOPPING 6
#define GS_STATISTICS 7
#define GS_CONVERSION 8
#define GS_OPTION 9

/* INDEX */
#define INDEX_GAME_DEV 5
#define INDEX_GRANDMA 2
#define INDEX_CHARACTER 1
#define INDEX_COIN 4
#define INDEX_EFFECT 3
#define INDEX_POINT_TEXT 6
#define INDEX_COIN_FROM_CHARACTERS 1
#define INDEX_COIN_FROM_TOUCHING 9

/* IMG & ANIMATION */
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
#define BG_FORE "background-fore3.png"
#define BG_BACK "background3.png"
#define BG_HOME "homebackground.jpg"
#define BG_LEFT_HOME "leftforeground.png"
#define BG_RIGHT_HOME "rightforeground.png"
#define BG_TUTO "tutorial.png"
#define ANI_BOARD_SCORE_BOARD "score-board.png"
#define ANI_BOARD_SCORE_COMBO "score-combo.png"
#define ANI_BOARD_COMBO_BAR "combo-bar.png"
#endif

#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
#define BG_FORE "special-texture/background-fore3.png"
#define BG_BACK "special-texture/background3.png"
#define BG_HOME "special-texture/homebackground.jpg"
#define BG_TUTO "special-texture/tutorial.png"
#define BG_LEFT_HOME "special-texture/leftforeground.png"
#define BG_RIGHT_HOME "special-texture/rightforeground.png"
#define ANI_BOARD_SCORE_BOARD "special-texture/score-board.png"
#define ANI_BOARD_SCORE_COMBO "special-texture/score-combo.png"
#define ANI_BOARD_COMBO_BAR "special-texture/combo-bar.png"
#endif

#define ANI_LOGO "logo.png"
#define ANI_BOARD_PRICE_BOX "board/price-box.png"
#define ANI_BOARD_PRICE_TAG "board/price-tag.png"
#define ANI_BOARD_UPGRADE "upgrade-bg.png"
#define ANI_BOARD_UPGRADE_HOLDER "upgrade-holder.png"
#define ANI_BOARD_BLACK_TAG "black-tag.png"
#define ANI_BOARD_SCORE_FRAME "score-frame.png"
#define ANI_BOARD_SCORE_BG "score-bg.png"
#define ANI_BOARD_ACHIEVEMENT "achievement/achievement-box.png"
#define ANI_TAB_INFO_CHARACTER "upgrade/info-tab.png"
#define ANI_TAB_UPGRADE_CHARACTER "upgrade/upgrade-tab(pausemenu buuton).png"
#define ANI_POP_UP "upgrade/pop-up.png"

#define ANI_BOARD_GUI "GUI-BG.png"
#define ANI_BOARD_STATS_GEN "generalBoard.png"
#define ANI_BOARD_STATS_CHAR "characterBoard.png"
#define ANI_MONEY_BAR "money-bar.png"
#define ANI_LEVEL_HOLDER "level-holder.png"
#define ANI_BUTTON_RATE_1 "rating1.png"
#define ANI_BUTTON_RATE_2 "rating2.png"
#define ANI_BUTTON_STATS_FACEBOOK "facebook-share.png"
#define ANI_BUTTON_FACEBOOK_1 "facebook-share1.png"
#define ANI_BUTTON_FACEBOOK_2 "facebook-share2.png"
#define ANI_BUTTON_LEVEL_UP_1 "level-up-button1.png"
#define ANI_BUTTON_LEVEL_UP_2 "level-up-button2.png"
#define ANI_BUTTON_HIRE_THIS_STAFF_1 "hire-this-staff1.png"
#define ANI_BUTTON_HIRE_THIS_STAFF_2 "hire-this-staff2.png"
#define ANI_BUTTON_PURCHASE_1 "purchase-upgrade1.png"
#define ANI_BUTTON_PURCHASE_2 "purchase-upgrade2.png"
#define ANI_BUTTON_CONTINUE_1 "continue-game1.png"
#define ANI_BUTTON_CONTINUE_2 "continue-game2.png"
#define ANI_BUTTON_SKIP_1 "skiptime1.png"
#define ANI_BUTTON_SKIP_2 "skiptime2.png"
#define ANI_BUTTON_OFF "off_option.png"
#define ANI_BUTTON_ON "on_option.png"
#define ANI_CARD_1 "upgrade_locked.png"
#define ANI_CARD_2 "upgrade_selected.png"
#define ANI_TAG_PURCHASE "purchase-tag.png"
#define ANI_TAG_AVAILABLE "avainable-tag.png"
#define ANI_TAG_LOCKED "locked-tag.png"
#define ANI_PAGE_CHOSE_1 "page-chose.png"
#define ANI_PAGE_CHOSE_2 "page-chose2.png"
#define ANI_AVATAR_HOLDER_1 "character_locked.png"
#define ANI_AVATAR_HOLDER_2 "character_locked2.png"
#define ANI_AVATAR_STAT_GENERAL "gamestatic.png"
#define ANI_AVATAR_STAT_CHARACTERS "chacracter.png"
#define ANI_BUTTON_SCROLLDOWN_1 "scoll_down_button1.png"
#define ANI_BUTTON_SCROLLDOWN_2 "scoll_down_button2.png"
#define ANI_BUTTON_SCROLLUP_1 "scoll_up_button1.png"
#define ANI_BUTTON_SCROLLUP_2 "scoll_up_button2.png"
#define ANI_BUTTON_CANCEL_1 "cancel-button1.png"
#define ANI_BUTTON_CANCEL_2 "cancel-button2.png"
#define ANI_BUTTON_OK_1 "ok-button1.png"
#define ANI_BUTTON_OK_2 "ok-button2.png"
#define ANI_POP_UP_BG "pop-up-bg.png"
#define ANI_PAUSE_BOARD "buttons/pauseBoard.png"
#define ANI_OPTION_BOARD "option_bg.png"
#define ANI_CONVERSION_BOARD "convertion_bg.png"
#define ANI_BUTTON_GRAY "buttons/buttonGray.png"
#define ANI_BUTTON_RED "buttons/buttonRed.png"
#define ANI_BUTTON_GREEN "buttons/buttonGreen.png"
#define ANI_ICO_LOCK "buttons/lock-icon.png"
#define ANI_NOTI "notif_upgrade.png"
#define ANI_NOTI_2 "notif_upgrade2.png"




#define ANI_NUMBER "number/%d.png"
#define ANI_NUMBER_BONUS "number/bonus-%d.png"
#define ANI_NUMBER_PLUS "number/plus.png"
#define ANI_NUMBER_BONUS_PLUS "number/bonus-plus.png"
#define ANI_COIN_LIGHT_7 "objects/coin7/lightColumn.png"
#define ANI_COIN_LIGHT_8 "objects/coin8/lightColumn.png"
#define ANI_COIN1 "objects/coin1/1.png"
#define ANI_COIN2 "objects/coin2/1.png"
#define ANI_COIN3 "objects/coin3/1.png"
#define ANI_COIN4 "objects/coin4/1.png"
#define ANI_COIN5 "objects/coin5/1.png"
#define ANI_COIN6 "objects/coin6/1.png"
#define ANI_COIN7 "objects/coin7/1.png"
#define ANI_COIN8 "objects/coin8/1.png"
#define ANI_COIN_FRAME "objects/coin/coin-%d.png"
#define ANI_COIN_FRAME1 "objects/coin1/%d.png"
#define ANI_COIN_FRAME2 "objects/coin2/%d.png"
#define ANI_COIN_FRAME3 "objects/coin3/%d.png"
#define ANI_COIN_FRAME4 "objects/coin4/%d.png"
#define ANI_COIN_FRAME5 "objects/coin5/%d.png"
#define ANI_COIN_FRAME6 "objects/coin6/%d.png"
#define ANI_COIN_FRAME7 "objects/coin7/%d.png"
#define ANI_COIN_FRAME8 "objects/coin8/%d.png"
#define ANI_EFFECT0 "hitEffects/0/0.png"
#define ANI_EFFECT1 "hitEffects/1/0.png"
#define ANI_EFFECT2 "hitEffects/2/0.png"
#define ANI_EFFECT3 "hitEffects/3/0.png"
#define ANI_EFFECT4 "hitEffects/4/0.png"
#define ANI_EFFECT5 "hitEffects/5/0.png"
#define ANI_EFFECT_FRAME0 "hitEffects/0/%d.png"
#define ANI_EFFECT_FRAME1 "hitEffects/1/%d.png"
#define ANI_EFFECT_FRAME2 "hitEffects/2/%d.png"
#define ANI_EFFECT_FRAME3 "hitEffects/3/%d.png"
#define ANI_EFFECT_FRAME4 "hitEffects/4/%d.png"
#define ANI_EFFECT_FRAME5 "hitEffects/5/%d.png"
#define ANI_BUTTON_UPGRADE_1 "buttons/upgrade-1.png"
#define ANI_BUTTON_UPGRADE_2 "buttons/upgrade-2.png"
#define ANI_BUTTON_CHARACTER_1 "buttons/character-1.png"
#define ANI_BUTTON_CHARACTER_2 "buttons/character-2.png"
#define ANI_BUTTON_ACHIVEMENT_1 "buttons/achivement-1.png"
#define ANI_BUTTON_ACHIVEMENT_2 "buttons/achivement-2.png"
#define ANI_BUTTON_BACK_1 "buttons/back.png"
#define ANI_BUTTON_BACK_2 "buttons/back.png"
#define ANI_BUTTON_PRICE_1 "buttons/price-1.png"
#define ANI_BUTTON_PRICE_2 "buttons/price-2.png"
#define ANI_BUTTON_SETTING_1 "buttons/setting-1.png"
#define ANI_BUTTON_SETTING_2 "buttons/setting-2.png"
#define ANI_BUTTON_PAUSE_1 "buttons/pause1.png"
#define ANI_BUTTON_PAUSE_2 "buttons/pause2.png"
#define ANI_BUTTON_SHOPPING_1 "buttons/shoping1.png"
#define ANI_BUTTON_SHOPPING_2 "buttons/shoping2.png"
#define ANI_BUTTON_AVATAR_1 "upgrade/upper-tab.png"
#define ANI_BUTTON_AVATAR_2 "upgrade/downer-tab.png"
#define ANI_BUTTON_CLOSE_1 "close1.png"
#define ANI_BUTTON_CLOSE_2 "close2.png"
#define ANI_POP_UP_BUTTON_1 "upgrade/pop-up-button1.png"
#define ANI_POP_UP_BUTTON_2 "upgrade/pop-up-button2.png"
#define ANI_BOARD_UNLOCK_CHARACTER "board/unlock-character-icon-%d.png"
#define ANI_BUTTON_PAUSE_MENU "upgrade/upgrade-tab(pausemenu buuton).png"
#define ANI_ACHIEVEMENT_LOCK_1 "achievement/locked.png"
#define ANI_ACHIEVEMENT_LOCK_2 "achievement/locked_sellected.png"
#define ANI_ACHIEVEMENT_UNLOCK_1 "achievement/unlocked.png"
#define ANI_ACHIEVEMENT_UNLOCK_2 "achievement/unlocked_sellected.png"
#define ANI_ACHIEVEMENT_BOUGHT_1 "achievement/buyed.png"
#define ANI_ACHIEVEMENT_BOUGHT_2 "achievement/buyed_sellected.png"
#define ANI_NOTI_BOARD "notification-pop-up.png"
#define ANI_PROCESS_BAR_DOWN "process_bar_down.png"
#define ANI_PROCESS_BAR_UP "process_bar_up.png"
#define ANI_VOLUME_BAR_DOWN "volum_bar1.png"
#define ANI_VOLUME_BAR_UP "volum_bar2.png"
#define ANI_VOLUME_CONTROL "vol_control.png"

#define ANI_CHAR_CEO "ceo/ceo-%d.png"
#define ANI_CHAR_GHOST "ghost/ghost-%d.png"
#define ANI_CHAR_GOD "god/god-%d.png"
#define ANI_CHAR_GOVERMENT "goverment/goverment-%d.png"
#define ANI_JSON_GOVERMENT "politician.json"
#define ANI_ATLAS_GOVERMENT "politician.atlas"
#define ANI_CHAR_GRANDMA "grandma/grandma-%d.png"
#define ANI_CHAR_HACKER "hacker/hacker-%d.png"
#define ANI_CHAR_KID "kid/kid-%d.png"
#define ANI_CHAR_SUPER_MAN "super-man/superman%d.png"
#define ANI_CHAR_GAME_DEV "game-designer/gamedesigner-%d.png"

//spine
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
#define ANI_ATLAS_KID "kid.atlas"
#define ANI_JSON_KID "kid.json"
#define ANI_ATLAS_OFFICER "officer.atlas"
#define ANI_JSON_OFFICER "officer.json"
#define ANI_ATLAS_SUPER_MAN "superman.atlas"
#define ANI_JSON_SUPER_MAN "superman.json"
#endif



/* TEXT */
#define TXT_EMPTY " "
#define TXT_MONEY_FORMAT "$ %s"
#define TXT_SURE_LEVEL_UP "Are you sure to spend"
#define TXT_HINT_LEVEL_UP "%s gain +%s mps by this upgrade, Level up to %d"
#define TXT_HINT_FINGER_LEVEL_UP "Finger gain %d coins each hit to the ATM" 
#define TXT_HINT_UPGRADE "%s can %s by this upgrade. Unlock special upgrade level %d" 
#define TXT_HINT_SKIP "You can skip the time to the next upgrade" 
#define TXT_NOT_ENOUGH_MONEY "Sorry! Don't have enough money to upgrade this. You need: "
#define TXT_NOT_ENOUGH_MONEY_ACHI "Sorry! Don't have enough money to show this. You need: "
#define TXT_NOT_ENOUGH_MONEY_SKIP "Sorry! Don't have enough money to skip this. You need: "
#define TXT_NEXT_UPGRADE_FORMAT "Next Upgrade\n%s\nRequired lv%d"
#define TXT_LEVEL_UP_FORMAT "LEVEL UP %d"
#define TXT_UPGRADE "UPGRADE"
#define TXT_STATS "STATS"
#define TXT_HIRE_STAFF "HIRE THIS STAFF\n%s"
#define TXT_CHARACTER_LEVEL "%s LV%d"
#define TXT_LEVEL_UP "LEVEL UP"
#define TXT_SPEED_AUTO_CHARACTER "$%s per sec"

#define TXT_USER_CHARACTER_JSON "{\"characterId\":%d,\"level\":%d,\"timeToNextUpgrade\": %f,\"upgrade-level\":%d,\"characterMoney\":\"%s\""
#define TXT_CHARACTER_INFORMATION "%s\n$%s per second\nTotal money earn: $%s"
#define TXT_CHARACTER_LEVEL_UP "LEVEL UP %d"
#define TXT_MAX_LEVEL "MAX LEVEL" 
#define TXT_CHARACTER_UPGRADE_EFFECT "%s gain %s"
#define TXT_CHARACTER_UPGRADE_REQUIRE "REQUIRE LEVEL %d"
#define TXT_CHARACTER_UPGRADE_UNLOCK "UNLOCK"

/* NUMBER */
#define NUM_TIME_COIN 5
#define NUM_POINT_FLY_RANGE_MAX 10
#define NUM_POINT_FLY_RANGE_MIN -10
#define MAX_DIGITS 
#define NUM_ACHIEVEMENTS 40
#define ITEMS_PER_ROW 6

#define NUM_STATUS_LOCKED 0
#define NUM_STATUS_BOUGHT 1
#define NUM_STATUS_UNLOCKED 2
#define NUM_CARDS_HALT 0
#define NUM_CARDS_LEFT 1
#define NUM_CARDS_RIGHT 2

#define NUM_TYPE_STATS_GEN 0
#define NUM_TYPE_STATS_CHAR 1

/* ACHIEVEMENT TYPE */
#define ACHIEVEMENT_TYPE_MONEY 0
#define ACHIEVEMENT_TYPE_LEVEL 1
#define ACHIEVEMENT_TYPE_OTHER 2

#define ACHIEVEMENT_EFFECT_DPS 0
#define ACHIEVEMENT_EFFECT_GRANDMA 1
#define ACHIEVEMENT_EFFECT_GAMEDEV 2
/* REQUEST */
#define REQ_BEGIN_GAME 1
#define REQ_COIN_APPEAR 2
#define REQ_UPGRADE 3
#define REQ_RESUME 4
#define REQ_UPGRADE_CHARACTER 5
#define REQ_SPECIAL_UPGRADE_CHARACTER 6
#define REQ_PAUSE 7
#define REQ_ACHIEVEMENT 8
#define REQ_CHANGE_CHARACTER 9
#define REQ_REVEAL_ACHIVEMENT 10
#define REQ_UPGRADE_FINGER 11
#define REQ_SPECIAL_UPGRADE_FINGER 12
#define REQ_SHOPPING 13
#define REQ_UPGRADE_BONUS_FINGER 14
#define REQ_UPGRADE_BONUS_ATM 15
#define REQ_CHANGE_AVATAR_SHOPPING 16
#define REQ_REMOVE_NOTIFICATION 17
#define REQ_REMOVE_BONUS_NOTIFICATION 18
#define REQ_GAME_MODE 19
#define REQ_STATS 20
#define REQ_CONVERSION 21
#define REQ_OPTION 22
#define REQ_SKIP_FINGER 23
#define REQ_SKIP_CHARACTER 24
#define REQ_EFFECT_APPEAR 25

/* STATE */
#define STATE_NORMAL "normal"
#define STATE_COIN1 "coin1"
#define STATE_COIN2 "coin2"
#define STATE_COIN3 "coin3"
#define STATE_COIN4 "coin4"
#define STATE_COIN5 "coin5"
#define STATE_COIN6 "coin6"
#define STATE_COIN7 "coin7"
#define STATE_COIN8 "coin8"
#define STATE_EFFECT0 "effect0"
#define STATE_EFFECT1 "effect1"
#define STATE_EFFECT2 "effect2"
#define STATE_EFFECT3 "effect3"
#define STATE_EFFECT4 "effect4"
#define STATE_EFFECT5 "effect5"
#define STATE_DISAPPEARED "disappeared"
#define STATE_SHOW "show"
#define STATE_HIDE "hide"
#define STATE_EMPTY "empty"

#endif /* RESOURCES_H */


